package com.ky.pro.java.nio.http.server.outbound.client;

import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.HttpResponse;

import java.net.InetSocketAddress;

/**
 * @ClassName IGatewayClient
 * @Description 网关Http客户端统一接口
 * @Date 2021/11/19 02:34
 * @Author kevin
 **/
public interface IGatewayClient {

    HttpResponse sendRequest(FullHttpRequest request, InetSocketAddress endpointAddress);

    default void shutdown() {
    }

}
